
FROM openjdk:8

EXPOSE 8080
WORKDIR /app
RUN chmod +x mvnw
RUN ./mvnw package
COPY target/lagou-docker-0.0.1-SNAPSHOT.jar lagou-docker.jar

CMD java -jar lagou-docker.jar


